package com.ruoyi.web.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 文章分类对象 t_chapter_catagory
 * 
 * @author ruoyi
 * @date 2023-10-08
 */
public class TChapterCatagoryVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long ccid;

    /** 文章分类 */
    @Excel(name = "文章分类")
    private String ccname;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    List<TChapter> tChapterList;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<TChapter> gettChapterList() {
        return tChapterList;
    }

    public void settChapterList(List<TChapter> tChapterList) {
        this.tChapterList = tChapterList;
    }

    public void setCcid(Long ccid)
    {
        this.ccid = ccid;
    }

    public Long getCcid() 
    {
        return ccid;
    }
    public void setCcname(String ccname) 
    {
        this.ccname = ccname;
    }

    public String getCcname() 
    {
        return ccname;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ccid", getCcid())
            .append("ccname", getCcname())
            .append("sort", getSort())
            .toString();
    }
}
